import React from 'react';
import styles from './attr.less';

const js2cssAttr = 'red';
const js2cssVar = { '--color': 'blue' };
export default function() {
  return (
    <div className={styles.normal}>
      <h1 data-extra={js2cssAttr} className={styles.useAttr} style={js2cssVar}>
        Page attr
      </h1>
    </div>
  );
}
